	<form id="userForm" action="<?=site_url(array("c" => "cms_user", "m" => "add_user"))?>" method="post">
		<table border="0" cellspacing="0" cellpadding="0" class="form-table">
			<tr>
				<th>Username: </th>
				<td><input type="text" name="item_loginname" class="input-text required" value=""></td>
			</tr>
			<tr>
				<th>Password: </th>
				<td><input type="password" name="item_passwd" class="input-text required" value=""></td>
			</tr>
			<tr>
				<th>Confirm Password: </th>
				<td><input type="password" name="item_passwd_conf" class="input-text required" value=""></td>
			</tr>
			<tr>
				<th>Firstname: </th>
				<td><input type="text" name="item_first_name" class="input-text" value=""></td>
			</tr>
			<tr>
				<th>Lastname: </th>
				<td><input type="text" name="item_last_name" class="input-text" value=""></td>
			</tr>
			<tr>
				<th>Email: </th>
				<td><input type="text" name="item_email" class="input-text required email" value=""></td>
			</tr>
			<tr>
				<th>Company Name: </th>
				<td><input type="text" name="item_company_name" class="input-text required" value=""></td>
			</tr>
			<tr>
				<th>Zipcode: </th>
				<td><input type="text" name="item_zipcode" class="input-text required number" value=""></td>
			</tr>
			<tr>
				<th>City: </th>
				<td><input type="text" name="item_city" class="input-text" value=""></td>
			</tr>
			<tr>
				<th>Address: </th>
				<td><input type="text" name="item_address" class="input-text" value=""></td>
			</tr>
			<tr>
				<th>Is Special: </th>
				<td>
					Yes <input type="radio" name="item_is_special" class="" value="yes"/>
					No <input type="radio" name="item_is_special" class="" checked="true" value="no"/>
				</td>
			</tr>
			<tr>
				<th>Role: </th>
				<td>
					<select name="item_role_id" class="input-text required">
						<option value="">Please select</option>
						<?php foreach($roles as $item):?>
						<option value="<?=$item['id']?>">
							<?=$item['name']?>
						</option>
						<?php endforeach;?>
					</select>
				</td>
			</tr>
			<tr>
				<th>Description: </th>
				<td>
					<textarea name="item_desc" class="input-textarea-medium" cols="28" rows="5"> </textarea>
				</td>
			</tr>
			<!--tr>
				<th>&nbsp;</th>
				<td>
					<input type="button" class="ins" onClick="javascript:history.back();" value="Cancel" />
					<input name="Submit" type="submit" class="ins" value="Save" />
				</td>
			</tr-->
		</table>
	</form>
